		<form onSubmit="return validateForm()" name="registerUser" action="?c=user&m=register" method="post" enctype="multipart/form-data">
				<div id="form">
					<div class="notify">
						<?php
						 	if(isset($success)){
						 		echo $success;
						 	}

						?>
					</div>
                    <div class="user">
                    <table>
                        <tr>
                            <td style=' width:162px'>
                               Fist name
                            </td>
                            <td>
                                <input type="text" name="fname" id="fname" size="35" maxlength="255">
                                <span id="error_null_fname" style="display: none;"><font color="red">First name can't be null</font> </span>    
                            </td>
                        </tr>
                        <tr>
                            <td>
                                Last name
                            </td>
                            <td>
                                <input type="text" name="lname" id="lname" size="35" maxlength="255"> 
                                <span id="error_null_lname" style="display: none;"><font color="red">Last name can't be null</font> </span>    
                            </td>
                        </tr>
                         <tr>
                            <td>
                               Username
                            </td>
                            <td>
                               <input type="text" name="userName" id="userName" size="35" maxlength="255">
                               <span id="error_null_username" style="display: none;"><font color="red">Username can't be null</font> </span>
                               <span><font color="red"><?php echo $usernameExist ?></font> </span>
                            </td>
                         </tr>
                        <tr>
                           <td>
                              Password
                            </td>
                            <td>
                               <input type="password" name="password" id="password" size="35" maxlength="255">
                               <span id="error_null_password" style="display: none;"><font color="red">Password can't be null</font> </span>
							   <span id="error_long_password" style="display: none;"><font color="red">Password no shorter 8 character or more 15 character</font> </span>
                               <span id="error_null_checkPassword" style="display: none;"><font color="red">Password and Confirm password aren't match</font> </span>
                            </td>
                        </tr>    
                         <tr>
                            <td>
                               Confirm Password
                            </td>
                            <td>
                               <input type="password" name="cPassword" id="cPassword" size="35" maxlength="255">
                               <span id="error_null_cPassword" style="display: none;"><font color="red">Confirm password can't be null</font> </span>
                            </td>
                         </tr>
                        
                         <tr>
                            <td>
                                Email
                            </td>
                            <td><input type="text" name="email" id="email" size="35" maxlength="255">
                                <span id="error_null_email" style="display: none;"><font color="red">Email can't be null</font> </span>
                                <span id="error_null_checkEmail" style="display: none;"><font color="red">Email is invalid</font> </span>
                            </td>
                         </tr>
                         <tr>
                            <td>
                               Address
                            </td>
                            <td>
                               <input style="background:#8CFFC6" type="text" name="address" id="address" size="35" maxlength="255">
                               <span id="error_null_address" style="display: none;"><font color="red">Address can't be null</font> </span>
                            </td>
                         </tr>
             
                         <tr>
                             <td>
                                <input type="submit" value= "Save">                                                                        
                             </td>
                         </tr>
                    </table>
                    </div>
                </div>
   </form> 